package TeamShadowCry.Source.Project.Process;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;

import TeamShadowCry.Source.Project.MainInstance;
import TeamShadowCry.Source.Project.Process.ProcessInstance.ProcessInstance;

public interface Codec {
	public String name();
	public boolean UseLine();
	public int toReadSize();
	public int aktion(byte[] val, byte[] Ram, byte[] extRam, byte[] all, InputStream fs, MainInstance given, ProcessInstance pr) throws IOException;
	public int aktion(byte[] val, byte[] ram, byte[] extRam, byte[] all, BufferedReader fs, MainInstance given, ProcessInstance pr) throws IOException;
}
